<!DOCTYPE html>
<html>
<head>
	<title>登录</title>
	<meta charset="utf-8">
	<meta name = "viewport" content ="initial-scale=1.0,maximum-scale=1,user-scalable=no">
	<meta content="yes" name="apple-mobile-web-app-capable">
	<meta content="telephone=no" name="format-detection">
	<link rel="stylesheet" type="text/css" href="/resource/web/css/reset.css">
	<link rel="stylesheet" type="text/css" href="/resource/web/css/login.css">
	<script type="text/javascript" src="/resource/web/js/flexible.js"></script>
    <script type="text/javascript" src="/resource/web/js/jquery-1.11.1.min.js"></script>
</head>
<body>
    <div class="title">
    	<p>登录</p>
		<a href="javascript:;" onClick="javascript :history.back(-1);">
			<img src="/resource/web/img/newhead/path_7_copy.png"></a>
    </div>
    <div class="login-log">
    	<img src="/resource/web/img/login/page_1.png">
    </div>
    <form>
    	<div class="login-ipt">
    		<p class="imgipt">
    		    <input type="number" name="phone"  id="phone" placeholder="请输入手机号">
    		    <img class="lg-lico" src="/resource/web/img/login/lg_ph.png">
    		    <span></span>
    		</p>
    		<p class="imgipt">
    		    <input type="password" name="pwd"  id="pwd" placeholder="请输入密码">
    		    <span></span>
    		    <img class="lg-lico" src="/resource/web/img/login/lg_pwd.png">
    		</p>
    	</div>
		<input type="hidden" name="webtoken"  id="webtoken" value="{{$webtoken}}">
		<?php
			$weburl=session_get('weburl');
			if(empty($weburl)){
				$weburl="/Web/user_accounts";
			}
		?>
		<input type="hidden" name="webtoken"  id="webtoken" value="{{$webtoken}}">
		<input type="hidden" name="weburl"  id="weburl" value="{{$weburl}}">
    	<div class="login-btn" onclick="SubmitWebLogin()">登录</div>
    	<p class="gogo"><span><a href="/Web/register.html">注册领红包</a></span><span><a href="/Web/web_forget.html">忘记密码</a></span></p>
    </form>
</body>
<script type="text/javascript">
    $(".title").css("border","0");
	$(".title").css("border","0");
	$(".login-ipt input").focus(function() {
		$(this).val("");
	});
	$(".imgipt input").focus(function() {
		$(this).siblings('.ceye').css("display","none");
		$(this).siblings('.oeye').css("display","inline-block");
	});
	$(".imgipt input").blur(function() {
		$(this).siblings('.ceye').css("display","inline-block");
		$(this).siblings('.oeye').css("display","none");
	});

</script>
<script type="text/javascript" src="/resource/jquery/jquery.weblogin.js"></script>
</html>